package com.njworkorder.Service;

import com.njworkorder.HTSingleLogin.FileInfo;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;


public interface FileInfoService {

    FileInfo selectFileInfoById(String id);

    int deleteQyFileInfoByIds(List<String> ids);

    List<FileInfo> uploadFiles(MultipartFile[] files);

    List<FileInfo> uploadBase64(List<String> files);

    int insertFileInfo(FileInfo fileInfo);

    void downloadBatchFile(List<Integer> ids, HttpServletResponse response) throws IOException;
}
